<script lang="ts" setup>
	
// 完成页面刷新
import { ref, provide, nextTick } from "vue-demi";
const isRouterActive = ref(true);
provide("reload", () => {
  isRouterActive.value = false;
  nextTick(() => {
    isRouterActive.value = true;
  });
});
</script>
<template>
  <router-view v-if="isRouterActive"></router-view>
</template>
<style lang="scss">
* {
  margin: 0;
  padding: 0;
}
</style>
